-- GENERATED SPELL FOR [Winterfin Warrior] --


function spell0_25217(pUnit, Event) --@Demoralizing Mmmrrrggglll,Self--
pUnit:FullCastSpellOnTarget(50267,pUnit)
pUnit:RegisterEvent('Sorts_25217', 10333, 1)
end

function Sorts_25217(pUnit, Event)
local choix_sorts_25217 = math.random(0, 0)
if choix_sorts_25217 == 0 then
pUnit:RegisterEvent('spell0_25217', 1, 1)
end
end

function mob25217_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25217', math.random(1500, 3000), 1)
end

function mob25217_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25217_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25217_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25217, 1, 'mob25217_Action')
RegisterUnitEvent(25217, 2, 'mob25217_Leave')
RegisterUnitEvent(25217, 3, 'mob25217_Kill')
RegisterUnitEvent(25217, 4, 'mob25217_Die')
